<script type="text/javascript">
{literal}
    $(document).ready(function(){
        $('#ticket_item tr').removeClass('last');
        $('#ticket_item tr:last').addClass('last');
    });
{/literal}
</script>
<table id="ticket_item" cellspacing="0" cellpadding="0" class="grid" style="display: block; width: 100%;">
	<thead>
	    <tr>
	        <th style='width: 5%'>&nbsp;</th>
	        <th style='width: 3%'>&nbsp;</th>
	        <th style='width: 22%'>{translate}Service{/translate}</th>
	        <th style='width: 10%'>{translate}Room{/translate}</th>
	        <th style='width: 10%'>{translate}Price{/translate}</th>    
	        <th style='width: 10%'>{translate}Discount{/translate}</th>                                         
	        <th style='width: 10%'>{translate}Patient payment_1{/translate}</th>                
	        <th style='width: 10%'>{translate}Type{/translate}</th>     
	        <th style='width: 10%'>{translate}Status{/translate}</th>   
	        <th colspan="3">&nbsp;</th>                     
	    </tr>
	</thead>
	<tbody>
	   {if isset($ticketContent)}
	       {$ticketContent}
	   {/if}
	</tbody>
</table>